#!/bin/sh -e

 aarch64-linux-gnu-gcc -c orgio.c -o orgio.o
 aarch64-linux-gnu-gcc -c start.S -o start.o
 aarch64-linux-gnu-ld -static -e main -Ttext 0x0 start.o orgio.o   -o orgio.elf
 aarch64-linux-gnu-objcopy -O binary orgio.elf orgio.bin
 aarch64-linux-gnu-objdump -D orgio.elf > orgio.s